<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改帮助与反馈')" />
    <th:block th:include="include :: summernote-css"/>
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-wxHelp-edit" th:object="${wxHelp}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">问题：</label>
                <div class="col-sm-8">
                    <textarea name="toQuestion" th:field="*{toQuestion}" class="form-control" type="text"></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">处理类型：</label>
                <div class="col-sm-8">
                    <select name="handleType" class="form-control m-b" id="handleType" th:with="type=${@dict.selectHandleTypeList()}" required>
                        <option th:each="dict : ${type}" th:text="${dict.typeName}" th:value="${dict.id}" th:field="*{handleType}"></option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">处理结果：</label>
                <div class="col-sm-8">
                    <textarea name="sysAnswer" th:field="*{sysAnswer}" type="text" class="form-control"></textarea>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: summernote-js"/>
    <script type="text/javascript">
        var prefix = ctx + "wxHelp/wxHelp";
        $("#form-wxHelp-edit").validate({
            focusCleanup: true
        });
    </script>
</body>
</html>